﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Curry.Forum.Facade.Enum
{
    public enum ReturnedCodeEnum
    {
        [Description("验证通过")]
        验证通过 = 1,

        [Description("查询失败")]
        查询失败 = 0,

        [Description("未查询到数据")]
        未查询到数据 = -1,

        [Description("请求参数错误")]
        请求参数为空 = -2,

        [Description("参数匹配错误")]
        参数匹配错误 = -3,

        [Description("新增失败")]
        新增失败 = -4,

        [Description("数据类型转换错误")]
        数据类型转换错误 = -5,

        [Description("服务器响应超时")]
        服务器响应超时 = -6,

        [Description("取消失败")]
        取消失败 = -7,

        [Description("删除失败")]
        删除失败 = -8,

        [Description("更新失败")]
        更新失败 = -9,

        [Description("登录失败")]
        登录失败 = -10,

        [Description("未查询到用户")]
        未查询到用户 = -11,
    }
}
